<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="m" uri="/connext" %>
<%@ taglib prefix="q" uri="/webframework-tags" %>
<%request.setAttribute("contextPath", request.getContextPath());%>
<%request.setAttribute("serverName", request.getServerName());%>
<%request.setAttribute("serverPort", request.getServerPort());%>
<s:if test="namespace==null||namespace=='/skip'">
	<%
		response.sendRedirect(request.getContextPath() + "/group");
	%>
</s:if>

<!--content begin-->

<div id="contentframe" style="padding-top: 5px;">
<s:if test="namespace=='/patient'">
	<s:if test="actionName=='patient'">
		<s:if test="method=='query' || method=='delPatient'">
			<jsp:include page="/patient/resultList.jsp" />
		</s:if>
		<s:elseif test="method=='editPatient' || method=='saveEditPatient' || method=='saveNewPatient' ">
			<jsp:include page="/patient/editPatient.jsp" />
		</s:elseif>
		<s:elseif test="method=='insertNewPatient'">
			<jsp:include page="/patient/newPatient.jsp" />
		</s:elseif>
	</s:if>
</s:if>

<s:elseif test="namespace=='/group'">
	<s:if test="actionName=='group'">
		<s:if test="method=='query' || method=='saveEditHospital' ">
			<jsp:include page="/group/resultList.jsp" />
		</s:if>
		<s:if test="method=='editGroup' || method=='saveEditGroup' || method=='saveNewGroup' ">
			<jsp:include page="/group/editGroup.jsp" />
		</s:if>
		<s:elseif test="method=='insertNewGroup'">
			<jsp:include page="/group/newGroup.jsp" />
		</s:elseif>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/personal'">
	<s:if test="actionName=='personal'">
		<s:if test="method=='editPersonal' || method=='saveEditPersonal' || method=='saveNewPersonal' ">
			<jsp:include page="/patient/editPersonal.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/bear'">
	<s:if test="actionName=='bear'">
		<s:if test="method=='editBear' || method=='saveEditBear' || method=='saveNewBear' ">
			<jsp:include page="/patient/editBear.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/family'">
	<s:if test="actionName=='family'">
		<s:if test="method=='editFamily' || method=='saveEditFamily' || method=='saveNewFamily' ">
			<jsp:include page="/patient/editFamily.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/lab'">
	<s:if test="actionName=='lab'">
		<s:if test="method=='editLabPhy' || method=='saveEditLabPhy' || method=='saveNewLabPhy' ">
			<jsp:include page="/patient/lab/editLabPhy.jsp" />
		</s:if>
		
		<s:elseif test="method=='editLabSugar' || method=='saveEditLabSugar' || method=='saveNewLabSugar' || method=='searchLabSugar' ">
			<jsp:include page="/patient/lab/editLabSugar.jsp" />
		</s:elseif>
		
		<s:elseif test="method=='editLabBlood' || method=='saveEditLabBlood' || method=='saveNewLabBlood' ">
			<jsp:include page="/patient/lab/editLabBlood.jsp" />
		</s:elseif>
		
		<s:elseif test="method=='editLabGanshen' || method=='saveEditLabGanshen' || method=='saveNewLabGanshen' ">
			<jsp:include page="/patient/lab/editLabGanshen.jsp" />
		</s:elseif>
		
		<s:elseif test="method=='editLabLipids' || method=='saveEditLabLipids' || method=='saveNewLabLipids' ">
			<jsp:include page="/patient/lab/editLabLipids.jsp" />
		</s:elseif>
		
		<s:elseif test="method=='editLabOther' || method=='saveEditLabOther' || method=='saveNewLabOther' ">
			<jsp:include page="/patient/lab/editLabOther.jsp" />
		</s:elseif>

		<s:elseif test="method=='editLabUrine' || method=='saveEditLabUrine' || method=='saveNewLabUrine' ">
			<jsp:include page="/patient/lab/editLabUrine.jsp" />
		</s:elseif>
		
		<s:elseif test="method=='editLabPancreat' || method=='saveEditLabPancreat' || method=='saveNewLabPancreat' ">
			<jsp:include page="/patient/lab/editLabPancreat.jsp" />
		</s:elseif>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/nutrition'">
	<s:if test="actionName=='nutrition'">
		<s:if test="method=='editNutritionSurvey' || method=='saveEditNutritionSurvey' || method=='saveNewNutritionSurvey' ">
			<jsp:include page="/patient/editNutritionSurvey.jsp" />
		</s:if>
		
		<s:elseif test="method=='editNutritionTreat' || method=='saveEditNutritionTreat' ">
			<jsp:include page="/patient/editNutritionTreat.jsp" />
		</s:elseif>
	 
	 	<s:elseif test="method=='editNutritionSuifang' || method=='saveEditNutritionSuifang' ">
			<jsp:include page="/patient/editNutritionSuifang.jsp" />
		</s:elseif>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/sport'">
	<s:if test="actionName=='sport'">
		<s:if test="method=='editSportsSurvey' || method=='saveEditSportsSurvey' || method=='saveNewSportsSurvey' ">
			<jsp:include page="/patient/editSportsSurvey.jsp" />
		</s:if>
		
		<s:elseif test="method=='editSportsSuifang' || method=='saveEditSportsSuifang' || method=='saveNewSportsSuifang' ">
			<jsp:include page="/patient/editSportsSuifang.jsp" />
		</s:elseif>

		<s:elseif test="method=='editSportsTreat' || method=='saveEditSportsTreat' || method=='saveNewSportsTreat' ">
			<jsp:include page="/patient/editSportsTreat.jsp" />
		</s:elseif>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/concurrent'">
	<s:if test="actionName=='concurrent'">
		<s:if test="method=='editConcurrent' || method=='saveEditConcurrent' ">
			<jsp:include page="/patient/editConcurrent.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/drug'">
	<s:if test="actionName=='drug'">
		<s:if test="method=='editDrugSurvey' || method=='saveEditDrugSurvey' || method=='saveNewDrugSurvey' ">
			<jsp:include page="/patient/editDrugSurvey.jsp" />
		</s:if>
	 	
		<s:elseif test="method=='editDrugTreat' || method=='saveEditDrugTreat' || method=='saveNewDrugTreat' ">
			<jsp:include page="/patient/editDrugTreat.jsp" />
		</s:elseif>

		<s:elseif test="method=='editDrugSuifang' || method=='saveEditDrugSuifang' || method=='saveNewDrugSuifang' ">
			<jsp:include page="/patient/editDrugSuifang.jsp" />
		</s:elseif>
	 
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/survey'">
	<s:if test="actionName=='survey'">
		<s:if test="method=='editQualitySurvey' || method=='saveEditQualitySurvey' || method=='saveNewQualitySurvey' ">
			<jsp:include page="/patient/survey/editQualitySurvey.jsp" />
		</s:if>
		
		<s:if test="method=='editSymptomsSurvey' || method=='saveEditSymptomsSurvey' || method=='saveNewSymptomsSurvey' ">
			<jsp:include page="/patient/survey/editSymptomsSurvey.jsp" />
		</s:if>
		
		<s:if test="method=='editPhysicalSurvey' || method=='saveEditPhysicalSurvey' || method=='saveNewPhysicalSurvey' ">
			<jsp:include page="/patient/survey/editPhysicalSurvey.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/jianyan'">
	<s:if test="actionName=='jianyan'">
		<s:if test="method=='editJianyan' || method=='saveEditJianyan' ">
			<jsp:include page="/patient/editJianyan.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/search'">
	<s:if test="actionName=='search'">
		<s:if test="method=='query'">
			<jsp:include page="/search/searchResult.jsp" />
		</s:if>
	</s:if>
</s:elseif>

<s:elseif test="namespace=='/data'">
	<s:if test="actionName=='data'">
		<s:if test="method=='exData' || method=='exportData'">
			<jsp:include page="/data/exportData.jsp" />
		</s:if>
		<s:elseif test="method=='imData' || method=='importData'">
			<jsp:include page="/data/importData.jsp" />
		</s:elseif>
	</s:if>
</s:elseif>

</div>